package cn.com.git.admin.dao;

import cn.com.git.admin.dao.model.SysNoteDict;
import cn.com.git.admin.service.query.SysNoteDictListQuery;

import java.util.List;

/**
  * SysNoteDictDAO接口
  * @author zhangzhenfu
  * @Description
  * @date 2020/5/8
*/
public interface SysNoteDictDAO {

    SysNoteDict selectById(Integer id);

    SysNoteDict selectOne(SysNoteDictListQuery query);

    int countLimit(SysNoteDictListQuery query);

    List<SysNoteDict> selectList(SysNoteDictListQuery query);

    Integer insertOne(SysNoteDict record);

    List<SysNoteDict> insertList(List<SysNoteDict> list);

    Integer updateOne(SysNoteDict record);

    Integer updateLimit(SysNoteDict record, SysNoteDictListQuery query);

    Integer deleteOne(Integer id);

    Integer deleteLimit(SysNoteDictListQuery query);
}